package com.game.model;

import com.game.interfaces.Draw;

/**
 * 基地类
 *
 * @author: tjc
 * @Date: 2019-5-3
 */
public abstract class Module implements Draw {
    protected int localX;
    protected int localY;
    protected int SIZE_X;
    protected int SIZE_Y;
    protected int speed;
    protected int direction;

    public int getLocalX() {
        return localX;
    }

    public void setLocalX(int localX) {
        this.localX = localX;
    }

    public int getLocalY() {
        return localY;
    }

    public void setLocalY(int localY) {
        this.localY = localY;
    }

    public int getSIZE_X() {
        return SIZE_X;
    }

    public void setSIZE_X(int SIZE_X) {
        this.SIZE_X = SIZE_X;
    }

    public int getSIZE_Y() {
        return SIZE_Y;
    }

    public void setSIZE_Y(int SIZE_Y) {
        this.SIZE_Y = SIZE_Y;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

}
